﻿using System.Windows;

namespace SUNRPA.UPDATER {
    /// <summary>
    /// Interaction logic for App.xaml
    /// </summary>
    public partial class App:Application {
        public string installDir = "";
        private void StarpUp(object sender, StartupEventArgs e) { 
            MainWindow mw = new MainWindow();
            mw.Show();
        }
        private void unHandleEx(object sender, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs e) {
            MessageBox.Show("系统错误：" + e.Exception.Message, "出现错误", MessageBoxButton.OK, MessageBoxImage.Warning);
            //记录日志（完善日志系统）
            e.Handled = true;
        }
    }
}
